import router from ".";
import NProgress from "nprogress";
import "nprogress/nprogress.css";


NProgress.configure({ showSpinner: false });


router.beforeEach(async (to, from, next) => {
  NProgress.start();
  //document.title = '默认title'
  next()
});

router.afterEach(() => {
  NProgress.done();
});
